# -*- coding: utf-8 -*-
from django.conf.urls import url, include
from .views import *

store_list = StoreListViewSet.as_view({
    'get': 'list',
    'post': 'create',  # 自动生成html表单
})
# `create()`, `retrieve()`, `update()`,`partial_update()`, `destroy()` and `list()`actions.

urlpatterns = [
    url(r'^stores/$', store_list, name="store"),
]
